package cn.sirun.com.fca.account.activity;

import android.content.Intent;
import android.os.Bundle;

import com.githang.statusbar.StatusBarCompat;
import com.tencent.cloud.uikit.ui.BaseIovActivity;
import com.tencent.cloud.uikit.utils.SystemUiUtils;

import cn.sirun.com.fca.account.R;
import cn.sirun.com.fca.account.view.impl.CaptchaFlowView;

public class CaptchaActivity extends BaseIovActivity {
    private CaptchaFlowView mCaptchaFlowView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SystemUiUtils.showActionBar(this, null);
        mCaptchaFlowView = new CaptchaFlowView(this);
        getLifecycle().addObserver(mCaptchaFlowView);
        StatusBarCompat.setStatusBarColor(this, getResources().getColor(R.color.login_bg_color));
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        mCaptchaFlowView.onNewIntent(intent);
    }
}
